package com.hg.oa.module.home.presenter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.widget.TextView;

import com.hg.oa.common.BasePresenter;

import java.util.ArrayList;

/**
 * Created by fengxiang on 2016/9/5.
 */
public interface HomePresenter extends BasePresenter {

    /**
     * 切换页面
     * @param titleView
     * @param title
     * @param resId
     * @param fragmentTransaction
     * @param mFragments
     * @param fragment
     */
    void switchPage(TextView titleView, String title, int resId, FragmentTransaction fragmentTransaction, ArrayList<Fragment> mFragments, Fragment fragment);
}
